package com.mdd.common.mapper.pay;

import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.entity.pay.DevPay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.core.annotation.Order;

/**
 * 支付配置Mapper
 */
@Mapper()
@Order(0)
public interface DevPayMapper extends IBaseMapper<DevPay> {

    @Select("Select * from  la_dev_pay where pay_way = #{payWay} limit 1")
    DevPay getEntityByPayWay(@Param("payWay") Integer payWay);
}
